home *** CD-ROM | disk | FTP | other *** search
/ Developer Helper 1: Phil & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / MPW Goodies / MPW Goodies⁄DTS / InitProjector < prev    next >
Text File  |  2022-08-05  |  648b  |  27 lines

  1. # InitProjector        Andrew Shebanow/Dave Burnard     6/28/88
  2. #
  3. # Setup file for projects
  4.  
  5. # save exit status
  6. Set OldExit {Exit}
  7. Set Exit 0
  8.  
  9. # Define and Export global variables needed by SetProjector and MountProjector
  10. Set RootProjectList ""
  11. Set ProjectNameList ""
  12. Export RootProjectList
  13. Export ProjectNameList
  14.  
  15. # EDIT this list to match the folders where you put your projects
  16. for ProjDir in `Catenate "{ProjDirList}"`
  17.     # List all subdirectories of specified directory
  18.     Set TmpProjList "`Files -d -f "{ProjDir}"`"
  19.     Set RootProjectList "{RootProjectList} {TmpProjList}"
  20. End
  21.  
  22. # get rid of variables
  23. Unset ProjDir
  24.  
  25. # restore exit status
  26. Set Exit {OldExit}
  27.